#ifndef BFOODEMO_H
#define BFOODEMO_H

#include <unistd.h>


class BFooDemo
{
public:
    BFooDemo();
    BFooDemo(int n);
    ~BFooDemo();

    void* operator new(size_t size);
    void* operator new(size_t size, void *start);
    void* operator new(size_t size, long extra);
    void* operator new(size_t size, long extra, char init);

private:
    int id;
    int *id2;
};

#endif // BFOODEMO_H
